import { post, get } from '@/utils/http'

export async function login() {
  const res = await post('/user-login')
  return res
}

export async function getUserInfo() {
  const res = await get('/user-get-info')
  return res
}
